<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/Public/layui-v2.2.5/layui/css/layui.css" media="all">
</head>
<body>
<h2 align="center">公共订单池</h2>
<table class="layui-table">
    <tr>
        <th lay-data="{field:'username', width:100}">id</th>
        <th lay-data="{field:'username', width:100}">订单编号</th>
        <th lay-data="{field:'username', width:100}">订单号</th>
        <th lay-data="{field:'username', width:100}">创建时间</th>
        <th lay-data="{field:'username', width:100}">出发时间</th>
        <th lay-data="{field:'username', width:100}">出车车牌号</th>
        <th lay-data="{field:'username', width:100}">目的地</th>
        <th lay-data="{field:'username', width:100}">订单状态</th>
        <th lay-data="{field:'username', width:100}">接单司机id</th>
        <th lay-data="{field:'username', width:100}">提货单号</th>
        <th lay-data="{field:'username', width:100}">合同号</th>
        <th lay-data="{field:'username', width:100}">缺货信息</th>
        <th lay-data="{field:'username', width:100}">提货数量</th>
        <th lay-data="{field:'username', width:100}">提货时间</th>
        <th>商品名称</th>
        <th lay-data="{field:'username', width:100}">结算单位</th>
        <th lay-data="{field:'username', width:100}">操作</th>
    </tr>
    <volist name="list" id="vo">
        <tr>
            <td>{$vo.id}</td>
            <td>{$vo.number}</td>
            <td>{$vo.order_number}</td>
            <td>{$vo.create_time}</td>
            <td>{$vo.departure_time}</td>
            <td>{$vo.car_plate_number}</td>
            <td>{$vo.destination}</td>
            <eq name="vo.order_status" value="0"><td>未接单</td></eq>
            <eq name="vo.order_status" value=""><td>未定义</td></eq>
            <eq name="vo.order_status" value="1"><td>已接单</td></eq>
            <eq name="vo.order_status" value="2"><td>已结束</td></eq>
            <td>{$vo.user_id}</td>
            <td>{$vo.pick_number}</td>
            <td>{$vo.contract_number}</td>
            <td>{$vo.short_supply_info}</td>
            <td>{$vo.delivery_quantity}</td>
            <td>{$vo.delivery_time}</td>
            <td>{$vo.goods_name}</td>
            <td>{$vo.settle_company}</td>
            <td>

                <eq name="vo.order_status" value="0"><a href="/index.php?c=driver&a=recive&id={$vo.id}">接单</a></eq>
                <eq name="vo.order_status" value="1">无法接单</eq>
                <eq name="vo.order_status" value="2">无法接单</eq>

            </td>
        </tr>
    </volist>
</table>
<div align="center">
    <a href="/index.php?c=driver&a=index" >退出</a>
</div>
<script src="/Public/layui-v2.2.5/layui/layui.js"></script>
<script>

</script>
</body>
</html>